<template>
  <section class="no-auth">
    <ml-empty :hasSlot="true">
      <div class="remind-text">
        <p v-if="errorMsg === ''">您没有当前功能权限</p>
        <p v-else>{{errorMsg}}</p>
        <p>如有疑问请联系管理员</p>
      </div>
    </ml-empty>
  </section>
</template>
<script>
/**
 * 没有权限的页面
 */
export default {
  props: {
    errorMsg: {
      type: String,
      default: ''
    },
  },
}
</script>
<style lang="scss" scoped>
@import './index.scss';
</style>